/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package cn.apestar.modules.report.paymentbenefitlog.entity;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Length;

import cn.apestar.common.persistence.DataEntity;

/**
 * 金额日志查询Entity
 * @author yudw
 * @version 2016-09-07
 */
public class PaymentBenefitLog extends DataEntity<PaymentBenefitLog> {

    private static final long serialVersionUID = 1L;

    private String money; // 金额

    private Long bizId; // 业务ID

    private String bizType; // 业务type

    private String status; // 状态

    private String remark; // 备注

    private String userName; // 用户名

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public PaymentBenefitLog() {
        super();
    }

    public PaymentBenefitLog(String id) {
        super(id);
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    @NotNull(message = "业务ID不能为空")
    public Long getBizId() {
        return bizId;
    }

    public void setBizId(Long bizId) {
        this.bizId = bizId;
    }

    @Length(min = 1, max = 50, message = "业务type长度必须介于 1 和 50 之间")
    public String getBizType() {
        return bizType;
    }

    public void setBizType(String bizType) {
        this.bizType = bizType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Length(min = 1, max = 100, message = "备注长度必须介于 1 和 100 之间")
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

}